package com.digua.baseiot.uitls;

import java.io.FileDescriptor;

public class SerialPortUtil {
    static {
        System.loadLibrary("serial_port");
    }

    public static native FileDescriptor open(String path, int baudRate, int parity, int dataBits, int stopBit, int flags);

    public native void close();
}
